Skip to content

Conversation

golyalpha
Copy link

Classmethods get type annotations declared their return type as the various base model classes.

This broke code hints and linters as a result, because they were incorrectly told Model.get returned HashModel (or whichever base model was in use) rather than Model.

Classmethods `get` type annotations declared their return type as the various base model classes.

This broke code hints and linters as a result, because they were incorrectly told Model.get returned `HashModel` (or whichever base model was in use) rather than `Model`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant